class Pointer{
    y="2222";
    constructor(){
        this.x="111";
    }
}

var pobj = new Pointer();
console.log(pobj.x);